<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>添加</title>
    <link href="./static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container main">
    <form action="${pageContext.request.contextPath}/userCreate" method="post">
        <div class="form-group">
            <label for="name" class="control-label">姓名:</label>
            <input type="text" class="form-control" id="name" name="name" required="required"
                   oninvalid="setCustomValidity('请输入姓名！');" oninput="setCustomValidity('');">
        </div>
        <div class="form-group">
            <label for="username" class="control-label">用户名:</label>
            <input type="text" class="form-control" id="username" name="username" required="required"
                   oninvalid="setCustomValidity('请输入用户名！');" oninput="setCustomValidity('');">
        </div>
        <div class="form-group">
            <label for="password" class="control-label">密码:</label>
            <input type="password" class="form-control" id="password" name="password" required="required"
                   oninvalid="setCustomValidity('请输入密码！');" oninput="setCustomValidity('');">
        </div>
        <div class="form-group">
            <input class="btn btn-primary" type="submit" value="提交">
        </div>
    </form>
</div>
</body>
</html>